package com.bq.gulimall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1、开启网关的注册发现（配置 Nacos 的注册地址）
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GulimallgatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallgatewayApplication.class, args);
    }

}
